package com.wuchao.spring.ioc.construtor;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Author wuchao66
 * @Date 2023/9/23 11:30
 * @PackageName:com.wuchao.spring.ioc.construtor
 * @ClassName: Testy
 * @Description: TODO
 * @Param
 * @Version 1.0
 */
public class Testy {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext cpac =
                new ClassPathXmlApplicationContext("ApplicationContext.xml");
        ( (Cons) cpac.getBean("cons")).show();
    }
}
